package com.zbf.web;

import com.alibaba.fastjson.JSON;
import com.zbf.config.MyTestDev;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * @date: 2022-06-26 10:10:11
 * @description:
 **/
@RestController
public class TestWeb {

   @Autowired
   private MyTestDev myTestDev;

   @RequestMapping(value = "test01",produces = "application/json")
   public Object test01(){

       return JSON.toJSONString(myTestDev);
   }


}
